package com.wdt.data.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ycc
 * @since 2019-06-04
 */
public class BasHeatcompanyExtension{

    private static final long serialVersionUID = 1L;

    /**
     * 热力公司ID
     */
    @TableId
    private Integer cid;

    /**
     * 成立日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    /**
     * 邮编
     */
    private String postcode;

    /**
     * 隶属关系
     */
    private String membership;

    /**
     * 单位性质
     */
    private String nature;

    /**
     * 属性归口
     */
    private String attribute;

    /**
     * 值班电话
     */
    private String dutyCalls;

    /**
     * 传真
     */
    private String fax;

    /**
     * 总人数
     */
    private Integer headCount;

    /**
     * 管理人数
     */
    private Integer adminCount;

    /**
     * 企业管理、经营管理人数
     */
    private Integer businessCount;

    /**
     * 供热、运营、安全管理人数
     */
    private Integer operateCount;

    /**
     * 兼职人数
     */
    private Integer partTimeJobCount;

    /**
     * 运行操作人员人数
     */
    private Integer handleCount;

    /**
     * 季节工人数
     */
    private Integer seasonCount;

    /**
     * 固定工人人数
     */
    private Integer fixedCount;

    /**
     * 开户行
     */
    private String bank;

    /**
     * 开户行帐号
     */
    private String accountNumber;

    /**
     * 工商执照或法人注册号
     */
    private String creditCode;

    /**
     * 注册开始日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date registerStart;

    /**
     * 注册结束日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date registerEnd;

    /**
     * 上级单位名称
     */
    private String parentName;

    /**
     * 上级单位性质
     */
    private String parentNature;

    /**
     * 上级单位地址
     */
    private String parentAddress;

    /**
     * 负责人
     */
    private String leader;

    /**
     * 联系电话
     */
    private String leaderPhone;

    /**
     * 节能建筑比例%
     */
    private String efficientPercent;

    /**
     * 居建面积
     */
    private String areaResident;

    /**
     * 公建面积
     */
    private String areaPublic;

    /**
     * 其他供热面积
     */
    private String areaRself;

    /**
     * 安全标准版等级
     */
    private String safeLevel;

    /**
     * 综合抢险（车辆）
     */
    private Integer carOverall;

    /**
     * 工程抢险（车辆）
     */
    private Integer carEngineering;

    /**
     * 机械（台）
     */
    private Integer machineCount;

    /**
     * 设备（部）
     */
    private Integer equipmentCount;

    /**
     * 备件（套）
     */
    private Integer sparePartCount;

    /**
     * 企业类别
     */
    private String companyType;
    private long createBy;
    private Date createTime;
    private long updateBy;
    private Date updateTime;


    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getMembership() {
        return membership;
    }

    public void setMembership(String membership) {
        this.membership = membership;
    }

    public String getNature() {
        return nature;
    }

    public void setNature(String nature) {
        this.nature = nature;
    }

    public String getAttribute() {
        return attribute;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }

    public String getDutyCalls() {
        return dutyCalls;
    }

    public void setDutyCalls(String dutyCalls) {
        this.dutyCalls = dutyCalls;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public Integer getHeadCount() {
        return headCount;
    }

    public void setHeadCount(Integer headCount) {
        this.headCount = headCount;
    }

    public Integer getAdminCount() {
        return adminCount;
    }

    public void setAdminCount(Integer adminCount) {
        this.adminCount = adminCount;
    }

    public Integer getBusinessCount() {
        return businessCount;
    }

    public void setBusinessCount(Integer businessCount) {
        this.businessCount = businessCount;
    }

    public Integer getOperateCount() {
        return operateCount;
    }

    public void setOperateCount(Integer operateCount) {
        this.operateCount = operateCount;
    }

    public Integer getPartTimeJobCount() {
        return partTimeJobCount;
    }

    public void setPartTimeJobCount(Integer partTimeJobCount) {
        this.partTimeJobCount = partTimeJobCount;
    }

    public Integer getHandleCount() {
        return handleCount;
    }

    public void setHandleCount(Integer handleCount) {
        this.handleCount = handleCount;
    }

    public Integer getSeasonCount() {
        return seasonCount;
    }

    public void setSeasonCount(Integer seasonCount) {
        this.seasonCount = seasonCount;
    }

    public Integer getFixedCount() {
        return fixedCount;
    }

    public void setFixedCount(Integer fixedCount) {
        this.fixedCount = fixedCount;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getAccountNumber() {
        return accountNumber;
    }

    public void setAccountNumber(String accountNumber) {
        this.accountNumber = accountNumber;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public Date getRegisterStart() {
        return registerStart;
    }

    public void setRegisterStart(Date registerStart) {
        this.registerStart = registerStart;
    }

    public Date getRegisterEnd() {
        return registerEnd;
    }

    public void setRegisterEnd(Date registerEnd) {
        this.registerEnd = registerEnd;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getParentNature() {
        return parentNature;
    }

    public void setParentNature(String parentNature) {
        this.parentNature = parentNature;
    }

    public String getParentAddress() {
        return parentAddress;
    }

    public void setParentAddress(String parentAddress) {
        this.parentAddress = parentAddress;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getLeaderPhone() {
        return leaderPhone;
    }

    public void setLeaderPhone(String leaderPhone) {
        this.leaderPhone = leaderPhone;
    }

    public String getEfficientPercent() {
        return efficientPercent;
    }

    public void setEfficientPercent(String efficientPercent) {
        this.efficientPercent = efficientPercent;
    }

    public String getAreaResident() {
        return areaResident;
    }

    public void setAreaResident(String areaResident) {
        this.areaResident = areaResident;
    }

    public String getAreaPublic() {
        return areaPublic;
    }

    public void setAreaPublic(String areaPublic) {
        this.areaPublic = areaPublic;
    }

    public String getAreaRself() {
        return areaRself;
    }

    public void setAreaRself(String areaRself) {
        this.areaRself = areaRself;
    }

    public String getSafeLevel() {
        return safeLevel;
    }

    public void setSafeLevel(String safeLevel) {
        this.safeLevel = safeLevel;
    }

    public Integer getCarOverall() {
        return carOverall;
    }

    public void setCarOverall(Integer carOverall) {
        this.carOverall = carOverall;
    }

    public Integer getCarEngineering() {
        return carEngineering;
    }

    public void setCarEngineering(Integer carEngineering) {
        this.carEngineering = carEngineering;
    }

    public Integer getMachineCount() {
        return machineCount;
    }

    public void setMachineCount(Integer machineCount) {
        this.machineCount = machineCount;
    }

    public Integer getEquipmentCount() {
        return equipmentCount;
    }

    public void setEquipmentCount(Integer equipmentCount) {
        this.equipmentCount = equipmentCount;
    }

    public Integer getSparePartCount() {
        return sparePartCount;
    }

    public void setSparePartCount(Integer sparePartCount) {
        this.sparePartCount = sparePartCount;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "BasHeatcompanyExtension{" +
        "cid=" + cid +
        ", startDate=" + startDate +
        ", postcode=" + postcode +
        ", membership=" + membership +
        ", nature=" + nature +
        ", attribute=" + attribute +
        ", dutyCalls=" + dutyCalls +
        ", fax=" + fax +
        ", headCount=" + headCount +
        ", adminCount=" + adminCount +
        ", businessCount=" + businessCount +
        ", operateCount=" + operateCount +
        ", partTimeJobCount=" + partTimeJobCount +
        ", handleCount=" + handleCount +
        ", seasonCount=" + seasonCount +
        ", fixedCount=" + fixedCount +
        ", bank=" + bank +
        ", accountNumber=" + accountNumber +
        ", creditCode=" + creditCode +
        ", registerStart=" + registerStart +
        ", registerEnd=" + registerEnd +
        ", parentName=" + parentName +
        ", parentNature=" + parentNature +
        ", parentAddress=" + parentAddress +
        ", leader=" + leader +
        ", leaderPhone=" + leaderPhone +
        ", efficientPercent=" + efficientPercent +
        ", areaResident=" + areaResident +
        ", areaPublic=" + areaPublic +
        ", areaRself=" + areaRself +
        ", safeLevel=" + safeLevel +
        ", carOverall=" + carOverall +
        ", carEngineering=" + carEngineering +
        ", machineCount=" + machineCount +
        ", equipmentCount=" + equipmentCount +
        ", sparePartCount=" + sparePartCount +
        ", companyType=" + companyType +
        "}";
    }
}
